package com.csweimei.rentmanagementtreasure.pop;

import android.content.Context;
import android.content.Intent;
import android.widget.ImageView;
import android.widget.LinearLayout;

import androidx.annotation.NonNull;

import com.csweimei.rentmanagementtreasure.R;
import com.csweimei.rentmanagementtreasure.tenant.ui.act.house.NoticeMessActivity;
import com.lxj.xpopup.core.BottomPopupView;

public class PopNotice1 extends BottomPopupView {
    private Context mContext;


    private LinearLayout noticeCz,noticeFd;


    public PopNotice1(@NonNull Context context) {
        super(context);
        this.mContext = context;
    }

    @Override
    protected int getImplLayoutId() {
        return R.layout.pop_notice_1;
    }

    @Override
    protected void onCreate() {
        noticeCz = findViewById(R.id.notice_cz);
        noticeFd = findViewById(R.id.notice_fd);
        ImageView cancel = findViewById(R.id.pop_close);
        cancel.setOnClickListener(view -> dismiss());


        noticeCz.setOnClickListener(v -> {
            dismiss();

        });

        noticeFd.setOnClickListener(v -> {
            dismiss();
        });

    }

    private String string;
    public void setMsg(String s){
        string = s;
    }

}
